home *** CD-ROM | disk | FTP | other *** search
/ Personal Computer World 2009 February / PCWFEB09.iso / Software / Linux / Kubuntu 8.10 / kubuntu-8.10-desktop-i386.iso / casper / filesystem.squashfs / etc / kernel / header_postinst.d / nvidia-common
Text File  |  2008-10-06  |  462b  |  15 lines

  1. #!/bin/bash -e
  2. . /usr/share/debconf/confmodule
  3. db_set nvidia-common/obsolete-driver false
  4. db_input high nvidia-common/obsolete-driver || true
  5.  
  6. if [ -x /usr/bin/nvidia-detector ]; then
  7.     LATEST=$(nvidia-detector)
  8.     if [ ${LATEST} != "none" ]; then
  9.         db_fset nvidia-common/obsolete-driver seen false
  10.         db_subst nvidia-common/obsolete-driver latest $LATEST
  11.         db_input high nvidia-common/obsolete-driver || true
  12.         db_go || true
  13.     fi
  14. fi
  15.